<?php
function p($var){
	//echo "<pre>";
	//print_r($var);
	//echo "</pre>";
	//exit;

}
function phiz_replace($content){
	$phiz = array(
		"[抓狂]" => '<img src="/demo/wish/Public/Images/phiz/zhuakuang.gif" />',
		"[抱抱]" => '<img src="/demo/wish/Public/Images/phiz/baobao.gif" />',
		"[害羞]" => '<img src="/demo/wish/Public/Images/phiz/haixiu.gif" />',
		"[酷]"   => '<img src="/demo/wish/Public/Images/phiz/ku.gif" />',
		"[嘻嘻]" => '<img src="/demo/wish/Public/Images/phiz/xixi.gif" />',
		"[太开心]" => '<img src="/demo/wish/Public/Images/phiz/taikaixin.gif" />',
		"[抓狂]" => '<img src="/demo/wish/Public/Images/phiz/zhuakuang.gif" />',
		"[抓狂]" => '<img src="/demo/wish/Public/Images/phiz/zhuakuang.gif" />',
		"[抓狂]" => '<img src="/demo/wish/Public/Images/phiz/zhuakuang.gif" />',
	);
	return strtr($content,$phiz);	

}
?>